package com.kube.design.responsibility;

/**
 * @author q.zhangr
 * @version 1.0.0
 * @date 2020/7/15
 */
public abstract class AbstractHandler {

    private AbstractHandler abstractHandler;


    /**
     * 处理请求
     * @param user
     * @param days
     * @return
     */
    public abstract String handlerRequest(String user,Integer days);

    public AbstractHandler getAbstractHandler() {
        return abstractHandler;
    }

    public void setAbstractHandler(AbstractHandler abstractHandler) {
        this.abstractHandler = abstractHandler;
    }
}
